<?php return array (
  'title' => 'Articles',
  'table' => 'articles',
  'engine' => 'MyISAM',
  'rev_control' => true,
  'save_history' => true,
  'link_title' => 'title',
  'fields' => 
  array (
    'text' => 
    array (
      'type' => '',
      'title' => 'Text',
      'unique' => false,
      'db_isNull' => false,
      'required' => true,
      'db_type' => 'longtext',
      'db_default' => '',
      'is_search' => false,
      'allow_html' => true,
    ),
    'main_topic' => 
    array (
      'type' => 'link',
      'title' => 'Topic',
      'unique' => 'false',
      'db_isNull' => false,
      'required' => true,
      'link_config' => 
      array (
        'link_type' => 'object',
        'object' => 'topics',
      ),
    ),
    'title' => 
    array (
      'type' => '',
      'title' => 'Headline',
      'unique' => false,
      'db_isNull' => false,
      'required' => true,
      'db_type' => 'varchar',
      'db_default' => '',
      'db_len' => 255,
      'is_search' => true,
      'allow_html' => false,
    ),
    'brief' => 
    array (
      'type' => '',
      'title' => 'Brief',
      'unique' => false,
      'db_isNull' => false,
      'required' => false,
      'db_type' => 'longtext',
      'db_default' => '',
      'is_search' => false,
      'allow_html' => false,
    ),
    'code' => 
    array (
      'type' => '',
      'title' => 'Code',
      'unique' => 'code',
      'db_isNull' => false,
      'required' => true,
      'db_type' => 'varchar',
      'db_default' => '',
      'db_len' => 150,
      'is_search' => true,
      'allow_html' => false,
    ),
    'allow_comments' => 
    array (
      'type' => '',
      'title' => 'Allow comments',
      'unique' => false,
      'db_isNull' => false,
      'required' => false,
      'db_type' => 'boolean',
      'db_default' => 0,
    ),
    'related_topics' => 
    array (
      'type' => 'link',
      'title' => 'Related Topics',
      'unique' => false,
      'db_isNull' => false,
      'required' => false,
      'link_config' => 
      array (
        'link_type' => 'multy',
        'object' => 'topics',
      ),
    ),
    'allow_votes' => 
    array (
      'type' => '',
      'title' => 'Allow votes',
      'unique' => false,
      'db_isNull' => false,
      'required' => false,
      'db_type' => 'boolean',
      'db_default' => 0,
    ),
    'meta_keywords' => 
    array (
      'type' => '',
      'title' => 'Meta Keywords',
      'unique' => false,
      'db_isNull' => false,
      'required' => false,
      'db_type' => 'varchar',
      'db_default' => '',
      'db_len' => 255,
      'is_search' => false,
      'allow_html' => false,
    ),
    'meta_description' => 
    array (
      'type' => '',
      'title' => 'Meta description',
      'unique' => false,
      'db_isNull' => false,
      'required' => false,
      'db_type' => 'tinytext',
      'db_default' => '',
      'is_search' => false,
      'allow_html' => false,
    ),
  ),
  'indexes' => 
  array (
    'code' => 
    array (
      'columns' => 
      array (
        0 => 'code',
      ),
      'unique' => true,
      'fulltext' => false,
      'PRIMARY' => false,
    ),
  ),
); 